
{extend name="user/index" /}
{block name="main"}

<ul class="list-group">
    <li class="list-group-item">{$row.id}</li>
    <li class="list-group-item">{$row.name}</li>
    <li class="list-group-item">{$row.tel}</li>
    <li class="list-group-item">{$row.age}</li>
    <li class="list-group-item">
        SEX:
        {switch name="row.sex"}
            {case value="0"}女{/case}
            {case value="1"}男{/case}
            {case value="2"}保密{/case}
            {default /}未知生物
        {/switch}
    </li>
</ul>

{/block}

{block name="myjs"}{/block}



